# -*- coding: utf-8 -*-
"""
@Project: Msptest
@Author: 余振新
@File name: 申请_科室会_医院组.py
@Create time: 2023/6/28 14:30
"""
from selenium.webdriver.common.by import By

# 科室会_医院组

div = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]')
会议时间 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[2]/div[2]/div/div/div/div[1]/div/div/input')
会议目的 = (By.CSS_SELECTOR, 'textarea[placeholder="请输入会议目的"]')
关联终端 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[3]/div[1]/div/div/div/div/span')
关联终端_第一行 = (By.XPATH, '/html/body/div[22]/div[2]/div/div/div[2]/div[3]/div/div/div[2]/table/tbody/tr[1]')
关联终端_确认 = (By.XPATH, '/html/body/div[22]/div[2]/div/div/div[3]/div/button[2]/span')
会议地点_省份 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[4]/div/div/div/div[1]/div/div[1]/div[1]/div/span')
会议地点_省份_上海市 = (By.XPATH, '//li[text()="上海市"]')
会议地点_市 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[4]/div/div/div/div[1]/div/div[2]/div[1]/div/span')
会议地点_市_市辖区 = (By.XPATH, '//li[text()="市辖区"]')
会议地点_区 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[4]/div/div/div/div[1]/div/div[3]/div[1]/div/span')
会议地点_区_虹口区 = (By.XPATH, '//li[text()="虹口区"]')
会议地点_地址 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[4]/div/div/div/div[1]/div/div[4]/div/input')
服务平台及主题_添加按钮 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/button[1]/span')
服务平台及主题_第一个 = (By.XPATH, '/html/body/div[20]/div[2]/div/div/div[2]/div[2]/div/div/div[2]/table/tbody/tr[1]/td[1]/div/label')
服务平台及主题_确认按钮 = (By.XPATH, '/html/body/div[20]/div[2]/div/div/div[3]/div/button[2]/span')

科室信息_一级科室 = (By.XPATH, '//span[text()="一级科室"]')
科室信息_一级科室_内科 = (By.XPATH, '//li[text()="内科"]')
科室信息_二级科室 = (By.XPATH, '//span[text()="二级科室"]')
科室信息_二级科室_血液科 = (By.XPATH, '//li[text()="血液科"]')

主要患者结构_疾病1 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div[1]/div[1]/div[1]/div/div/span')
主要患者结构_疾病2 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div[1]/div[2]/div[1]/div/div/span')
主要患者结构_疾病3 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div[1]/div[3]/div[1]/div/div/span')
主要患者结构_治疗方案1 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div/div[1]/div[2]/div/textarea')
主要患者结构_治疗方案2 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div/div[2]/div[2]/div/textarea')
主要患者结构_治疗方案3 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[10]/div/div/div[3]/div[2]/div/textarea')
主要患者结构_选择疾病_第一个疾病 = (By.XPATH, '//html/body/div[13]/div[2]/div/div/div[2]/div[3]/div/div/div[2]/table/tbody/tr[1]/td')
主要患者结构_选择疾病_确认按钮 = (By.XPATH, '/html/body/div[13]/div[2]/div/div/div[3]/div/button[2]')

讲师信息_添加按钮 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/button[2]')
讲师信息_选择讲师 = (By.XPATH, '/html/body/div[18]/div[2]/div/div/div[2]/div[1]/form/div[1]/div/div/div/span')
讲师信息_选择讲师_第一个 = (By.XPATH, '/html/body/div[17]/div[2]/div/div/div[2]/div[2]/div/div/div[2]/table/tbody/tr[1]')
讲师信息_选择讲师_保存按钮 = (By.XPATH, '/html/body/div[17]/div[2]/div/div/div[3]/div/button[2]')
讲师信息_选择角色_主持 = (By.XPATH, '//span[text()="主持"]')
讲师信息_选择角色_讲者 = (By.XPATH, '//span[text()="讲者"]')
讲师信息_选择角色_病例分享者 = (By.XPATH, '//span[text()="病例分享者"]')
讲师信息_选择角色_保存按钮 = (By.XPATH, '/html/body/div[18]/div[2]/div/div/div[3]/div/button[2]')

上传附件_上传按钮 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/form/div[18]/div/button')
断言_上传附件_上传成功 = (By.XPATH, '//span[normalize-space()="上传成功"]')

下一步 = (By.XPATH, '//span[text()="下一步"]')
断言_申请页_下一步_保存成功 = (By.XPATH, '//span[normalize-space()="保存成功!"]')

参会人_添加按钮 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[1]/div[2]/div[2]/button')
参会人_第一个 = (By.XPATH, '/html/body/div[14]/div[2]/div/div/div[2]/div[2]/div/div/div[2]/table/tbody/tr[1]/td[1]/div/label')
参会人_确认按钮 = (By.XPATH, '/html/body/div[14]/div[2]/div/div/div[3]/div/button[2]')
参会人_保存按钮 = (By.XPATH, '//*[@id="app"]/div/div[2]/div[2]/div/div[2]/div[1]/div[2]/button[2]')

断言_会议申请_保存成功 = (By.XPATH, '//div[normalize-space()="保存成功"]')
